-----------------------------------
-- Area: Promyvion-Vahzl
-- NPC: ??? (qm3)
-- @zone 22
-- @pos -260.000 -0.003 72.000
-- Notes: Spawn Provoker Floor 5
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------

require("scripts/zones/Promyvion-Vahzl/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)

	if(trade:hasItemQty(1758,1) and trade:getItemCount() == 1) then -- Satiator Remnant
		player:tradeComplete();
		player:messageSpecial(ON_NM_SPAWN);
		SpawnMob(16867642,180):updateEnmity(player); -- Spawn Provoker
	end

end;

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	player:messageSpecial(POPPED_NM_OFFSET+2);
end;